package com.itheima.patterns.structuralpattern.proxy.static_proxy;

//代售点类
public class ProxyPoint implements SellTickets{
    
    //声明火车站类对象
    private TrainStation trainStation = new TrainStation();
    
    @Override
    public void sell() {
        System.out.println("代售点收取一些费用");
        trainStation.sell();
    }
}